package cn.gary.oaserver.entity.vo;

import cn.gary.oaserver.entity.TMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author: 邓必宏
 * @title:
 * @Demo:
 * @DateTime: 2024/3/23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TMenu对象", description="")
public class TMenuVO {

    @ApiModelProperty(value = "菜单")
    private TMenu menu;
    @ApiModelProperty(value = "子菜单")
    private List<TMenuVO> children;

}
